#header {
  width: 100%;
  height: 60px;
  background-color: #151935;
}
#header-popup {
  width: 100%;
  height: 60px;
  background-color: #151935;
}
.active-show {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  animation: opacityShow 1s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.active-hide {
  position: relative;
  top: 0;
  left: 0;
  z-index: 99;
  /* animation: opacityHide 1s cubic-bezier(0.65, 0.05, 0.36, 1); */
}
#header .wrap-header {
  display: flex;
  height: 60px;
  padding: 0 50px;
  justify-content: space-between;
}
.mainW {
  width: 1100px;
  margin: 0 auto;
}
#header .wrap-header.active-show {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  animation: opacityShow 2s ease-in-out;
}
#header .wrap-header.active-hide {
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
  animation: opacityHide 2s ease-in;
}
#header .header-left {
  height: 100%;
  display: flex;
  align-items: center;
}
#header .header-logo {
  width: 78px;
}
#header .header-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#header .header-search {
  margin-left: 40px;
  display: flex;
  width: 476px;
  height: 30px;
  background-color: #E8EDFF;
  border-radius: 3px;
}
.layui-form-select dl dd {
  text-align: center;
  font-size: 12px;
  line-height: 50px;
  width: 60px;
}
#header .header-search .select {
  width: 70px;
}
#header .header-search .layui-input {
  height: 30px;
  background: none;
  border-radius: 3px 0 0 3px;
  border: 0;
  box-sizing: border-box;
  padding-left: 5px;
  padding-right: 10px;
  font-size: 12px;
  text-align: center;
}
#header .header-search .layui-form-select .layui-edge {
  right: 5px;
}
#header .header-search .input {
  position: relative;
  width: 100%;
  border-left: 1px solid #878CB1;
}
#header .header-search .search-input {
  display: block;
  height: 30px;
  width: 100%;
  font-size: 12px;
  padding-left: 15px;
  padding-right: 35px;
  box-sizing: border-box;
  background: none;
}
#header .header-search .search-icon {
  display: block;
  font-size: 22px;
  color: #1C2340;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
#header .header-right {
  display: flex;
  align-items: center ;
}
#header .header-txt {
  font-size: 14px;
  margin-right: 30px;
}
#header .header-txt a,
#header .header-txt i {
  color: #fff;
}
#header .user-login {
  position: relative;
  margin-right: 30px;
}
#header .user-login .user {
  padding: 4px 15px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  cursor: pointer;
}
#header .user-login .user p {
  color: #fff;
  font-size: 14px;
}
#header .user-login .user i {
  display: block;
  margin-left: 5px;
  color: #fff;
  font-size: 12px;
}
#header .user-login .user.active {
  background-color: #1067EE;
}
#header .user-login .info {
  display: none;
  position: absolute;
  top: 43px;
  width: 110px;
  z-index: 2;
  background-color: #fff;
  box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.1);
}
#header .user-login .info a {
  display: block;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 12px;
}
#header .user-login .info a:not(.logout):hover {
  background-color: #F6F7FB;
  color: #1067EE;
}
#header .user-login .info a.logout {
  color: #EA2E2E;
}
#header .header-cart {
  position: relative;
}
#header .header-cart .cart-icon {
  color: #878CB1;
  font-size: 22px;
}
#header .header-cart .news-num {
  position: absolute;
  top: -10px;
  right: -20px;
  border-radius: 50%;
  font-size: 10px;
}
#header .help {
  margin-left: 44px;
}
#header .help a {
  color: #878CB1;
  font-size: 12px;
  border-left: 1px solid #878CB1;
  padding: 0 10px;
}
#header .help a:hover {
  color: #EA2E2E;
}
@keyframes opacityShow {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
@keyframes opacityHide {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}
